#!/bin/csh
# argument 1 = course
# argument 2 = assignment
# argument 3 = student name
# argument 4 = is detailed, 0=no, 1=yes 
set course = $1
set assignement  = $2
set sName = $3
set isDetailed = $4
if($isDetailed != 1) then
   @ isDetailed = 0
endif
rm -f tmpreport.txt
(./report_evaluate.csch $1 $2 $3) >> tmp.txt
rm -f tmpreport.txt
cd ../course/$1/assignment/$2/student/$3

if($isDetailed) then
   less errors.txt
else
   cat summary.txt
endif
            
